//
//  ljhCheckbox.h
//  ljhCheckbox
//
//  Created by EssIOS on 17/1/3.
//  Copyright © 2017年 ljh. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol WHRestartCheckboxDelegate <NSObject>
@optional
-(void)wHRestartCheckbox:(NSMutableArray*)seleteArray;
@end

@interface WHSelectBoxView : UIButton<UITableViewDelegate,UITableViewDataSource>
@property(retain,nonatomic) NSMutableArray *baseArr;
@property(retain,nonatomic) NSString *alertTitle;
@property(retain,nonatomic) NSString *alertMessage;
//@property (copy,nonatomic)void(^finishBlock)(NSString *selectArr);

@property (copy,nonatomic)void(^finishBlock)(NSIndexPath *indexPath);

- (instancetype)mybuttonwithArr:(NSArray *)arr andTitle:(NSString *)title andMessage:(NSString *)message;
-(void)showAlert;
@property(nonatomic,weak)id<WHRestartCheckboxDelegate>delegate;

@property(nonatomic,strong)UITableView *alertTableView;

-(void)setDefaultSelectRow:(int)row;

@end





